可替换性
SCALAPACK的Fortran接口与Netlib SCALAPACK完全一致。
如表KML_SCALAPACK与Netlib SCALAPACK的替换映射关系所示给出SCALAPACK中可替换的接口与Netlib SCALAPACK的Fortran接口的映射关系(仅给出已优化的接口)。
Netlib接口 |
KML接口 |
---|---|
psgetrf |
psgetrf |
pdgetrf |
pdgetrf |
pcgetrf |
pcgetrf |
pzgetrf |
pzgetrf |
pspotrf |
pspotrf |
pdpotrf |
pdpotrf |
pcpotrf |
pcpotrf |
pzpotrf |
pzpotrf |
psgeqrf |
psgeqrf |
pdgeqrf |
pdgeqrf |
pcgeqrf |
pcgeqrf |
pzgeqrf |
pzgeqrf |
psgels |
psgels |
pdgels |
pdgels |
pcgels |
pcgels |
pzgels |
pzgels |
以上接口均为Fortran接口,在C语言中使用时需在接口名称后增加下划线,且参数类型均为指针类型。请参见《鲲鹏数学库 开发指南》中“KML_SCALAPACK函数定义”章节。