File tree Expand file tree Collapse file tree 1 file changed +15
-5
lines changed Expand file tree Collapse file tree 1 file changed +15
-5
lines changed Original file line number Diff line number Diff line change 4
4
Convert \code {fd } or \code {basisfd } Objects to \code {fdPar } Objects
5
5
}
6
6
\description {
7
- If the input is an \code {fd } object , default parameters are added to convert
8
- it to an \code {fdPar } object. If a \code {basisfd } object , it is first
9
- converted to an \code {fd } object with a square coefficient matrix of
10
- zeros , and then converted to a \code {fdPar } object.
7
+ If the input is an \code {fd } object , default \code {fdPar } parameters are
8
+ added to convert the object to an \code {fdPar } object.
9
+ If a \code {basisfd } object , it is first converted to an \code {fd } object
10
+ with a \code {nbasis } by \code {ncurve } coefficient matrix of zeros ,
11
+ and then converted to a \code {fdPar } object.
11
12
}
12
13
\usage {
13
- fdParcheck(fdPar )
14
+ fdParcheck(fdPar , ncurve )
14
15
}
15
16
\arguments {
16
17
\item {fdPar }{A \code {basisfd }, \code {fd } or a \code {fdPar } object. }
18
+ \item {ncurve }{The number of curves or functions for which the basis
19
+ object is to be used in their representation. If missing , an error
20
+ message is displayed and computation terminated. }
21
+ }
22
+ \details {
23
+ The previous version of this function did not include the argument
24
+ \code {ncurve }, and set up an \code {fd } object with a square
25
+ matrix of zeros. This could cause an error in many of the
26
+ functions that called it.
17
27
}
18
28
\value {
19
29
Returns a \code {fdPar } object.
You can’t perform that action at this time.
0 commit comments