[Numpy-discussion] LinearAlgebra2.determinant

Colin J. Williams cjw at sympatico.ca
Sun Nov 2 04:27:08 CST 2003


In the line:

    return num.zeros((1,),
    type=a.type())-num.multiply.reduce(num.diagonal(a))

the code:

    num.zeros((1,), type=a.type())

appears to be redundant.

Colin W.







More information about the Numpy-discussion mailing list