Macaulay2 Engine
Loading...
Searching...
No Matches
◆
vec_negate()
template<typename
CoeffRing
>
void
SMat
<
CoeffRing
>::vec_negate
(
sparsevec
*&
v
)
const
private
Definition at line
486
of file
smat.hpp
.
487
{
488
for
(
sparsevec
*
p
=
v
;
p
->next !=
NULL
;
p
=
p
->next)
489
ring
().negate(
p
->coeff,
p
->coeff);
490
}
SMat::ring
const CoeffRing & ring() const
Definition
smat.hpp:104
SMat
Definition
smat.hpp:43
SMat::sparsevec
Definition
smat.hpp:57
References
p
, and
ring()
.
Referenced by
subtractInPlace()
.
SMat
Generated on
for Macaulay2 Engine by
1.15.0