def __init__(self, lower=True, inplace=False): self.lower = lower COp.__init__( self, ["c_code/magma_cholesky.c"], "APPLY_SPECIFIC(magma_cholesky)" ) self.inplace = inplace if self.inplace: self.destroy_map = {0: [0]}
def __init__(self, inplace=False): COp.__init__(self, "c_code/blockgemv.c", "APPLY_SPECIFIC(blockgemv)") self.inplace = inplace if self.inplace: self.destroy_map = {0: [0]}
def __init__(self, complete=True): self.complete = complete COp.__init__(self, ["c_code/magma_qr.c"], "APPLY_SPECIFIC(magma_qr)")
def __init__(self, inplace=False): COp.__init__(self, ["c_code/magma_inv.c"], "APPLY_SPECIFIC(magma_inv)") self.inplace = inplace if self.inplace: self.destroy_map = {0: [0]}
def __init__(self, full_matrices=True, compute_uv=True): self.full_matrices = full_matrices self.compute_uv = compute_uv COp.__init__(self, ["c_code/magma_svd.c"], "APPLY_SPECIFIC(magma_svd)")
def __init__(self, UPLO="L", compute_v=True): assert UPLO in ["L", "U"] self.lower = UPLO == "L" self.compute_v = compute_v COp.__init__(self, ["c_code/magma_eigh.c"], "APPLY_SPECIFIC(magma_eigh)")