Stata 15 help for mf__negate

[M-5] _negate() -- Negate real matrix

Syntax

void _negate(real matrix X)

Description

_negate(X) speedily replaces X = -X.

Remarks

Coding _negate(X) executes more quickly than coding X = -X.

However, coding

B = A _negate(B)

does not execute more quickly than coding

B = -A

Conformability

_negate(X): X: r x c result: void

Diagnostics

None. X may be a view.


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index