C_DBLAT1.F(3)

πŸ“¦
version 3.12.1 Β· 3 versions
, in arch rolling

πŸ’– CBLAS/testing/c_dblat1.f πŸ’–

okay bestie, so this is the manual page for CBLAS/testing/c_dblat1.f, and it is literally the blueprint for the double-precision BLAS testing vibe. it's from the CBLAS library's testing folder, and it's giving "quality assurance but make it iconic." periodt. πŸŽ€


✨ SYNOPSIS ✨

🌸 Functions/Subroutines 🌸

  • program dcblat1 β€” the main character program that runs the whole double-precision show.
  • subroutine header β€” prints the header info, like a little intro card before the runway walk.
  • subroutine check0 (sfac) β€” check zero: the first vibe check for the double routines.
  • subroutine check1 (sfac) β€” check one: level-1 BLAS double routines, no cap.
  • subroutine check2 (sfac) β€” check two: the level-2 double routines step into the spotlight.
  • subroutine check3 (sfac) β€” check three: level-3 double routines get their moment.
  • subroutine stest (len, scomp, strue, ssize, sfac) β€” a real test for double vectors, comparing computed vs. true values.
  • subroutine stest1 (scomp1, strue1, ssize, sfac) β€” a simplified vector test for when you just have one computed value and one true value.
  • double precision function sdiff (sa, sb) β€” calculates the difference between two double values, literally the "how far off are we" function.
  • subroutine itest1 (icomp, itrue) β€” the integer test that checks if computed matches true, integer edition. πŸ’…

πŸ’… Function/Subroutine Documentation πŸ’…

πŸŽ€ subroutine check0 (double precision sfac)

Definition at line 82 of file c_dblat1.f.

it's the checker for the zero-case stuff. sfac is the scale factor because everything needs a little seasoning. lowkey crucial for the baseline tests, bestie.


πŸŽ€ subroutine check1 (double precision sfac)

Definition at line 143 of file c_dblat1.f.

check1 is where the level-1 BLAS double routines get their vibe check. sfac again is the scaling factor β€” it's giving "consistency queen." πŸ‘‘


πŸŽ€ subroutine check2 (double precision sfac)

Definition at line 237 of file c_dblat1.f.

level-2 BLAS double routines, rise! this one verifies them with sfac doing the scaling thing. it's the middle child but make it essential.


πŸŽ€ subroutine check3 (double precision sfac)

Definition at line 392 of file c_dblat1.f.

check3 handles level-3 BLAS double routines. the big guns. the main event. sfac is still doing its helpful scale-factor thing, because consistency is key. slay. ✨


πŸŽ€ program dcblat1

Definition at line 1 of file c_dblat1.f.

the literal star of the file. dcblat1 is the program that runs all the double-precision BLAS tests. it's the one that ties the whole friend group together. main character energy fr fr.


πŸŽ€ subroutine header

Definition at line 54 of file c_dblat1.f.

just prints the header. it's the "welcome to my TED talk" moment of the program β€” sets the scene so you know what's coming. simple, necessary, iconic.


πŸŽ€ subroutine itest1 (integer icomp, integer itrue)

Definition at line 688 of file c_dblat1.f.

compares two integers: icomp (the computed one) and itrue (the one that's supposed to be right). it's the "are you actually doing what you said you would" check, integer style. πŸ”₯


πŸŽ€ double precision function sdiff (double precision sa, double precision sb)

Definition at line 678 of file c_dblat1.f.

takes two doubles, sa and sb, and returns their difference as a double. that's it. that's the function. it's the "how far apart are these two things" bestie. drama-free and useful.


πŸŽ€ subroutine stest (integer len, double precision, dimension(len) scomp, double precision, dimension(len) strue, double precision, dimension(len) ssize, double precision sfac)

Definition at line 598 of file c_dblat1.f.

okay so this one is a real test for double vectors. you pass in:

  • len β€” how many elements we're dealing with,
  • scomp β€” the computed values (dimension len),
  • strue β€” the true, expected values (dimension len),
  • ssize β€” the size array (dimension len),
  • sfac β€” the scale factor.

it's like a group project where everyone has a role, and the goal is to prove the computed stuff matches the true stuff. no pressure. 🌸


πŸŽ€ subroutine stest1 (double precision scomp1, double precision strue1, double precision, dimension(*) ssize, double precision sfac)

Definition at line 653 of file c_dblat1.f.

the pared-down version: scomp1 is the single computed value, strue1 is the single true value, ssize is the size array (dimension *), and sfac is the scale factor. when you don't need the whole vector, this is your girl. πŸ¦‹


✨ Author ✨

Generated automatically by Doxygen for LAPACK from the source code. so you know it's official. don't come for the formatting, it's generated β€” it's doing its best. πŸ™ˆ


bestie, that's the whole page. LAPACK Version 3.12.0, from the file CBLAS/testing/c_dblat1.f(3). go forth and test those double-precision routines with confidence. you're gonna slay. πŸ’œβœ¨


πŸ“¦ where this page comes from