|
1 | | -{\rtf1\ansi\ansicpg1252\cocoartf2709 |
| 1 | +{\rtf1\ansi\ansicpg1252\cocoartf2761 |
2 | 2 | \cocoatextscaling0\cocoaplatform0{\fonttbl\f0\fswiss\fcharset0 Optima-Bold;\f1\fnil\fcharset0 Menlo-Regular;\f2\froman\fcharset0 TimesNewRomanPSMT; |
3 | 3 | \f3\fswiss\fcharset0 Optima-Regular;\f4\fswiss\fcharset0 Optima-BoldItalic;\f5\fnil\fcharset0 Menlo-Italic; |
4 | 4 | \f6\fnil\fcharset0 AppleSymbols;\f7\fswiss\fcharset0 Optima-Italic;\f8\froman\fcharset0 TimesNewRomanPS-ItalicMT; |
|
8 | 8 | \red150\green150\blue150;} |
9 | 9 | {\*\expandedcolortbl;;\cssrgb\c0\c0\c0;\cssrgb\c0\c0\c100000;\cssrgb\c87536\c0\c0; |
10 | 10 | \cssrgb\c65500\c65500\c65500;} |
11 | | -{\*\listtable{\list\listtemplateid1\listhybrid{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat0\levelspace360\levelindent0{\*\levelmarker \{disc\}}{\leveltext\leveltemplateid1\'01\uc0\u8226 ;}{\levelnumbers;}\fi-360\li720\lin720 }{\listname ;}\listid1} |
| 11 | +{\*\listtable{\list\listtemplateid1\listhybrid{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{disc\}}{\leveltext\leveltemplateid1\'01\uc0\u8226 ;}{\levelnumbers;}\fi-360\li720\lin720 }{\listname ;}\listid1} |
12 | 12 | {\list\listtemplateid2\listhybrid{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{disc\}}{\leveltext\leveltemplateid101\'01\uc0\u8226 ;}{\levelnumbers;}\fi-360\li720\lin720 }{\listname ;}\listid2} |
13 | | -{\list\listtemplateid3\listhybrid{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat0\levelspace360\levelindent0{\*\levelmarker \{disc\}}{\leveltext\leveltemplateid201\'01\uc0\u8226 ;}{\levelnumbers;}\fi-360\li720\lin720 }{\listname ;}\listid3}} |
| 13 | +{\list\listtemplateid3\listhybrid{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{disc\}}{\leveltext\leveltemplateid201\'01\uc0\u8226 ;}{\levelnumbers;}\fi-360\li720\lin720 }{\listname ;}\listid3}} |
14 | 14 | {\*\listoverridetable{\listoverride\listid1\listoverridecount0\ls1}{\listoverride\listid2\listoverridecount0\ls2}{\listoverride\listid3\listoverridecount0\ls3}} |
15 | 15 | \margl1440\margr1440\vieww9000\viewh8400\viewkind0 |
16 | 16 | \deftab397 |
@@ -4574,7 +4574,24 @@ The elements of |
4574 | 4574 | \f3\fs20 . The new array will be filled in dimension order: one element in each row until a column is filled, then on to the next column in the same manner until all columns are filled, and then onward into the higher-order dimensions in the same manner.\ |
4575 | 4575 | \pard\pardeftab720\li720\fi-446\ri720\sb180\sa60\partightenfactor0 |
4576 | 4576 |
|
4577 | | -\f1\fs18 \cf0 \kerning1\expnd0\expndtw0 (*)cbind(...) |
| 4577 | +\f1\fs18 \cf2 \kerning1\expnd0\expndtw0 (*)asVector(*\'a0x)\ |
| 4578 | +\pard\pardeftab720\li547\ri720\sb60\sa60\partightenfactor0 |
| 4579 | + |
| 4580 | +\f0\b\fs20 \cf2 Creates a new vector |
| 4581 | +\f3\b0 from the elements of |
| 4582 | +\f1\fs18 x |
| 4583 | +\f3\fs20 , stripping off any dimensional information associated with |
| 4584 | +\f1\fs18 x |
| 4585 | +\f3\fs20 being a vector or array. The values of the resulting vector are read out from |
| 4586 | +\f1\fs18 x |
| 4587 | +\f3\fs20 in dimension order: one element from each row until a column is completed, then on to the next column in the same manner until all columns are completed, and then onward into the higher-order dimensions in the same manner. If |
| 4588 | +\f1\fs18 x |
| 4589 | +\f3\fs20 is already a vector, it is returned unmodified. See |
| 4590 | +\f1\fs18 drop() |
| 4591 | +\f3\fs20 for a similar method that drops only matrix/array dimensions that are redundant.\ |
| 4592 | +\pard\pardeftab720\li720\fi-446\ri720\sb180\sa60\partightenfactor0 |
| 4593 | + |
| 4594 | +\f1\fs18 \cf0 (*)cbind(...) |
4578 | 4595 | \f2 \ |
4579 | 4596 | \pard\pardeftab720\li547\ri720\sb60\sa60\partightenfactor0 |
4580 | 4597 |
|
@@ -4714,7 +4731,10 @@ Returns the result of dropping redundant dimensions |
4714 | 4731 | \f1\fs18 x |
4715 | 4732 | \f3\fs20 . Redundant dimensions are those with a size of exactly 1. Non-redundant dimensions are retained. If only one non-redundant dimension is present, the result is a vector; if more than one non-redundant dimension is present, the result will be a matrix or array. If |
4716 | 4733 | \f1\fs18 x |
4717 | | -\f3\fs20 is not a matrix or array, it is returned unmodified.\ |
| 4734 | +\f3\fs20 is not a matrix or array, it is returned unmodified.\kerning1\expnd0\expndtw0 See |
| 4735 | +\f1\fs18 asVector() |
| 4736 | +\f3\fs20 for a way to drop all dimensions of a matrix or array, whether redundant or not.\expnd0\expndtw0\kerning0 |
| 4737 | +\ |
4718 | 4738 | \pard\pardeftab720\li720\fi-446\ri720\sb180\sa60\partightenfactor0 |
4719 | 4739 |
|
4720 | 4740 | \f1\fs18 \cf2 \kerning1\expnd0\expndtw0 (float)inverse(numeric\'a0x)\ |
|
0 commit comments