⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mf_e.hlp

📁 是一个经济学管理应用软件 很难找的 但是经济学学生又必须用到
💻 HLP
字号:
{smcl}
{* 15mar2004}{...}
{cmd:help mata e()}
{hline}
{* index unit vectors}{...}
{* index e()}{...}

{title:Title}

{p 4 4 2}
{bf:[M-5] e() -- Unit vectors}


{title:Syntax}

{p 8 12 2}
{it:real rowvector}
{cmd:e(}{it:real scalar i}{cmd:,}
{it:real scalar n}{cmd:)}


{title:Description}

{p 4 4 2}
{cmd:e(}{it:i}{cmd:,} {it:n}{cmd:)}
returns a 1 {it:x} {it:n} unit vector, a vector with all elements equal to 
zero except for the {it:i}th, which is set to one.


{title:Conformability}

    {cmd:e(}{it:i}{cmd:,} {it:n}{cmd:)}:
		{it:i}:  1 {it:x} {it:1}
		{it:n}:  1 {it:x} {it:1}
	   {it:result}:  1 {it:x} {it:n}


{title:Diagnostics}

{p 4 4 2}
{cmd:e(}{it:i}{cmd:,} {it:n}{cmd:)}
aborts with error if {it:n}<1 or if {it:i}<1 or if {it:i}>{it:n}.
Arguments {it:i} and {it:n} are interpreted as 
{cmd:trunc(}{it:i}{cmd:)} and 
{cmd:trunc(}{it:n}{cmd:)}.


{title:Source code}

{p 4 4 2}
{view e.mata, adopath asis:e.mata}


{title:Also see}

{p 4 13 2}
Manual:  {hi:[M-5] e()}

{p 4 13 2}
Online:  help for 
{bf:{help m4_matrix:[M-4] matrix}}
{p_end}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -