File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed
Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change 1+ # content
2+ @test Cauchy (5 ) ≈ [0.5 0.3333333333333333 0.25 0.2 0.16666666666666666 ; 0.3333333333333333 0.25 0.2 0.16666666666666666 0.14285714285714285 ; 0.25 0.2 0.16666666666666666 0.14285714285714285 0.125 ; 0.2 0.16666666666666666 0.14285714285714285 0.125 0.1111111111111111 ; 0.16666666666666666 0.14285714285714285 0.125 0.1111111111111111 0.1 ]
3+
4+ # eltype
5+ @test test_matrix_elements (Cauchy {Float32} (5 ))
6+
7+ # constructors
8+ @test allequal ([
9+ Cauchy (5 ),
10+ Cauchy (5 , 5 ),
11+ Cauchy ([1 : 5 ;]),
12+ Cauchy ([1 : 5 ;], [1 : 5 ;]),
13+ Cauchy {Int} (5 ),
14+ Cauchy {Int} (5 ,5 ),
15+ Cauchy {Int} ([1 : 5 ;]),
16+ Cauchy {Int} ([1 : 5 ;], [1 : 5 ;]),
17+ Cauchy {Int} ([1 : 5 ;], [1 : 5 ;]),
18+ ])
19+
20+ # linear algebra functions
21+ @test test_linearalgrbra_functions (Cauchy {Float64} (5 ))
You can’t perform that action at this time.
0 commit comments