8 lines
145 B
Text
8 lines
145 B
Text
|
@meta
|
||
|
class C:
|
||
|
|
||
|
@decorator
|
||
|
def f(self, H, V, beta, r):
|
||
|
S = (H @ beta - r).T @ inv(H @ V @ H.T) @ (H @ beta - r)
|
||
|
return S
|