---
title: KesSolverSetOrthogonalizerType
description: "KesReturnCode KesSolverSetOrthogonalizerType(KesSolver solver, KesOrthogonalizerType type);"
url: https://www.hikunpeng.com/document/detail/zh/kunpengboostkithistory/240RC1/accel/kunpengaccel_kml_16_0750.html
sourcePath: /source/zh/kunpengboostkithistory/240RC1/accel/kunpengaccel_kml_16_0750.html
indexId: d82acdf693befb6147d16325cc526d4fd0b4acdd122822e8e6a1053d1e09eb8f76
---
# KesSolverSetOrthogonalizerType

#### 接口定义

KesReturnCode KesSolverSetOrthogonalizerType(KesSolver solver, KesOrthogonalizerType type);


#### 接口说明

设置求解正交基组向量的算法，默认值为KES_CHOLESKY_QR。


#### 参数

| 参数名 | 类型 | 描述 | 输入/输出 |
| --- | --- | --- | --- |
| solver | KesSolver | 求解器句柄，不能为空指针。 | 输入/输出 |
| type | KesOrthogonalizerType | 求解正交基组向量的算法。 | 输入 |


| KesOrthogonalizerType | 描述 |
| --- | --- |
| KES\_CHOLESKY\_QR | 基于Cholesky的QR分解算法。 |
| KES\_SVD\_QR | 基于SVD的QR分解算法。 |
