Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
sagemath
GitHub Repository: sagemath/sagelib
Path: blob/master/sage/matrix/matrix_cyclo_dense.pxd
4094 views
include "../ext/cdefs.pxi"

from matrix_dense cimport Matrix_dense
from matrix_rational_dense cimport Matrix_rational_dense

cdef class Matrix_cyclo_dense(Matrix_dense):
    
    # Matrix over ZZ that stores elements
    cdef Matrix_rational_dense _matrix
    
    # Degree of base cyclotomic field
    cdef int _degree
    cdef int _n
    
    cdef _randomize_rational_column_unsafe(Matrix_cyclo_dense self, 
        Py_ssize_t col, mpz_t nump1, mpz_t denp1, distribution=?)