# \#api

**URL:** https://openturns.discourse.group/tag/api/27.md

[Latest](https://openturns.discourse.group/latest.md) · [Categories](https://openturns.discourse.group/categories.md) · [Tags](https://openturns.discourse.group/tags.md)

---

## [PCE design matrix and coefficient fit](https://openturns.discourse.group/t/pce-design-matrix-and-coefficient-fit/265)

<div class="topic-metadata">

**Author:** [@dlouk](https://openturns.discourse.group/u/dlouk)\
**Replies:** 6\
**Last updated:** [November 22, 2024, 2:42pm UTC](https://openturns.discourse.group/t/pce-design-matrix-and-coefficient-fit/265 "2024-11-22T14:42:53Z")

</div>

Greetings, I am trying to reproduce the results of the example “Create a polynomial chaos for the Ishigami function: a quick start guide to polynomial chaos” (Create a polynomial chaos for the Ishigami function: a quick…

---

## [Inconsistencies in OpenTURNS API](https://openturns.discourse.group/t/inconsistencies-in-openturns-api/173)

<div class="topic-metadata">

**Author:** [@MichaelBaudin](https://openturns.discourse.group/u/MichaelBaudin)\
**Replies:** 0\
**Last updated:** [December 14, 2021, 9:12pm UTC](https://openturns.discourse.group/t/inconsistencies-in-openturns-api/173 "2021-12-14T21:12:54Z")

</div>

Hi! I found inconsistencies in OpenTURNS’ API and I wanted to share that information. There are inconsistencies between two OpenTURNS classes with related purposes: ProbabilitySimulationResult, ExpectationSimulationR…

---

## [Construct conditional distribution and transform the jointly distribution](https://openturns.discourse.group/t/construct-conditional-distribution-and-transform-the-jointly-distribution/294)

<div class="topic-metadata">

**Author:** [@Wissen](https://openturns.discourse.group/u/Wissen)\
**Replies:** 3\
**Last updated:** [June 10, 2023, 12:43pm UTC](https://openturns.discourse.group/t/construct-conditional-distribution-and-transform-the-jointly-distribution/294 "2023-06-10T12:43:13Z")

</div>

Hello, I’m building a stochastic model with three random variables X,Y, Z that both X, Y depends on Z and X, Y are conditional independent given the value of Z. I wonder that how can I implement the conditional distribu…

---

## [Point == None crashes my kernel](https://openturns.discourse.group/t/point-none-crashes-my-kernel/149)

<div class="topic-metadata">

**Author:** [@sanaaZ](https://openturns.discourse.group/u/sanaaZ)\
**Replies:** 1\
**Last updated:** [June 16, 2021, 4:19pm UTC](https://openturns.discourse.group/t/point-none-crashes-my-kernel/149 "2021-06-16T16:19:20Z")

</div>

Hello, i’ve encountered a somewhat weird problem. In my code i had to check if one specific argument was provided by the user, so i did something in these lines : import openturns openturns.Point(\[1,1,1\]) == None this…

---

## [Aggregate two points](https://openturns.discourse.group/t/aggregate-two-points/32)

<div class="topic-metadata">

**Author:** [@MichaelBaudin](https://openturns.discourse.group/u/MichaelBaudin)\
**Replies:** 6\
**Last updated:** [November 12, 2020, 9:04pm UTC](https://openturns.discourse.group/t/aggregate-two-points/32 "2020-11-12T21:04:34Z")

</div>

Hi ! I want to aggregate two Points x and z. import openturns as ot x = ot.Point(\[1.0, 2.0, 3.0\]) y = ot.Point(\[4.0, 5.0\]) I would like to produce the Point(\[1.0, 2.0, 3.0, 4.0, 5.0\]) by concatenating the values from x…

---

## [Export OT Interval to 2-point Sample](https://openturns.discourse.group/t/export-ot-interval-to-2-point-sample/36)

<div class="topic-metadata">

**Author:** [@josephmure](https://openturns.discourse.group/u/josephmure)\
**Replies:** 9\
**Last updated:** [October 20, 2020, 7:41am UTC](https://openturns.discourse.group/t/export-ot-interval-to-2-point-sample/36 "2020-10-20T07:41:29Z")

</div>

Is there a way to export OpenTURNS Intervals to Samples or numpy arrays? I figure that since Intervals have 2 boundaries in every dimension, they could in theory be turned to Samples of size 2 (with the dimension staying…
