You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
265 B
19 lines
265 B
#include "ngspice/ngspice.h"
|
|
#include "ngspice/dvec.h"
|
|
|
|
|
|
struct dvec *
|
|
dvec_alloc(void)
|
|
{
|
|
struct dvec *rv = TMALLOC(struct dvec, 1);
|
|
|
|
if (!rv)
|
|
return NULL;
|
|
|
|
ZERO(rv, struct dvec);
|
|
|
|
rv->v_plot = NULL;
|
|
rv->v_numdims = 0;
|
|
|
|
return rv;
|
|
}
|