1 /* Derived from jacdim.c, which starts with the following copyright notice. */
2 /****************************************************************
3 Copyright (C) 1997 Lucent Technologies
4 All Rights Reserved
5 
6 Permission to use, copy, modify, and distribute this software and
7 its documentation for any purpose and without fee is hereby
8 granted, provided that the above copyright notice appear in all
9 copies and that both that the copyright notice and this
10 permission notice and warranty disclaimer appear in supporting
11 documentation, and that the name of Lucent or any of its entities
12 not be used in advertising or publicity pertaining to
13 distribution of the software without specific, written prior
14 permission.
15 
16 LUCENT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
17 INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS.
18 IN NO EVENT SHALL LUCENT OR ANY OF ITS ENTITIES BE LIABLE FOR ANY
19 SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
20 WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER
21 IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
22 ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF
23 THIS SOFTWARE.
24 ****************************************************************/
25 
26 #include "asl.h"
27 
28  int
29 #ifdef KR_headers
jac2dim_(stub,M,N,NO,NZ,MXROW,MXCOL,stub_len)30 jac2dim_(stub, M, N, NO, NZ, MXROW, MXCOL, stub_len)
31  char *stub;
32  fint *M, *N, *NO, *NZ, *MXROW, *MXCOL;
33  ftnlen stub_len;
34 #else
35 jac2dim_(char *stub, fint *M, fint *N, fint *NO, fint *NZ,
36 		fint *MXROW, fint *MXCOL, ftnlen stub_len)
37 #endif
38 {
39 	ASL *asl;
40 
41 	if (cur_ASL)
42 		return already_ASL("jacdim");
43 	asl = ASL_alloc(ASL_read_pfgh);
44 	return jac2dim_ASL(asl, stub, M, N, NO, NZ, MXROW, MXCOL, stub_len);
45 	}
46