📄 mf_sqrt.hlp
字号:
{smcl}
{* 28mar2005}{...}
{cmd:help mata sqrt()}
{hline}
{* index sqrt()}{...}
{* index square root}{...}
{title:Title}
{p 4 4 2}
{bf:[M-5] sqrt() -- Square root}
{title:Syntax}
{p 8 12 2}
{it:numeric matrix}
{cmd:sqrt(}{it:numeric matrix Z}{cmd:)}
{title:Description}
{p 4 4 2}
{cmd:sqrt(}{it:Z}{cmd:)} returns the elementwise square root of {it:Z}.
{title:Conformability}
{cmd:sqrt(}{it:Z}{cmd:)}
{it:Z}: {it:r x c}
{it:result}: {it:r x c}
{title:Diagnostics}
{p 4 4 2}
{cmd:sqrt(}{it:Z}{cmd:)}
returns missing when {it:Z} is real and {it:Z}<0; i.e.,
{cmd:sqrt(}-4{cmd:)}==. but {cmd:sqrt(}-4+0i{cmd:)} = 2i.
{title:Source code}
{p 4 4 2}
Function is built-in.
{title:Also see}
{p 4 13 2}
Manual: {hi:[M-5] sqrt()}
{p 4 13 2}
Online: help for
{bf:{help mf_cholesky:[M-5] cholesky()}};
{bf:{help m4_scalar:[M-4] scalar}}
{p_end}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -