File tree 2 files changed +2
-6
lines changed
math-lib/math/private/matrix
2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change 312
312
(define (matrix-cos-angle M N)
313
313
(/ (matrix-dot M N) (* (matrix-2norm M) (matrix-2norm N))))
314
314
315
- (: matrix-angle (case-> ((Matrix Flonum) (Matrix Flonum) -> Flonum)
316
- ((Matrix Real) (Matrix Real) -> Real)
317
- ((Matrix Float-Complex) (Matrix Float-Complex) -> Float-Complex)
315
+ (: matrix-angle (case-> ((Matrix Float-Complex) (Matrix Float-Complex) -> Float-Complex)
318
316
((Matrix Number) (Matrix Number) -> Number)))
319
317
(define (matrix-angle M N)
320
318
(acos (matrix-cos-angle M N)))
Original file line number Diff line number Diff line change @@ -79,9 +79,7 @@ See "How to Measure Errors" in the LAPACK manual for more details:
79
79
;(matrix-min-singular-value (matrix* (matrix-hermitian M) R))
80
80
(error 'unimplemented ))
81
81
82
- (: matrix-basis-angle (case-> ((Matrix Flonum) (Matrix Flonum) -> Flonum)
83
- ((Matrix Real) (Matrix Real) -> Real)
84
- ((Matrix Float-Complex) (Matrix Float-Complex) -> Float-Complex)
82
+ (: matrix-basis-angle (case-> ((Matrix Float-Complex) (Matrix Float-Complex) -> Float-Complex)
85
83
((Matrix Number) (Matrix Number) -> Number)))
86
84
;; Returns the angle between the two subspaces spanned by the two given sets of column vectors
87
85
(define (matrix-basis-angle M R)
You can’t perform that action at this time.
0 commit comments