This function reads nodes and weights with the format of the .asc files available from http://www.sparse-grids.de
这个函数读取节点和权重的格式的.asc文件可从http://www.sparse-grids.de
用法----------Usage----------
readASCGrid(filename, dimension)
参数----------Arguments----------
参数:filename
name of the file that you want to read. The extension should be included.
要读的文件的名称。应当将延术语限。
参数:dimension
dimension of the grid that you want to read.
你想读的网格尺寸。
值----------Value----------
The return value contains a list with nodes and weights
返回值将包含一个列表,节点和权重
参数:nodes
matrix with a node in each row
矩阵与每行中的一个节点
参数:weights
vector with corresponding weights
与相应的权重向量
## Not run: [#不运行:]
# read file (e.g. after downloading from www.sparse-grids.de)[读取文件(如下载后从www.sparse grids.de)]
ReadASCFile(filename='GQU_d3_l5.asc', dimension=3)