DCBLAT1(3)
π 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 (dimensionlen),strueβ the true, expected values (dimensionlen),ssizeβ the size array (dimensionlen),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
- arch rolling: lapack-doc 3.12.1-2 Β· custom
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms