---
url: /dyad/stable/stdlib/DiscreteComponents/components/Examples.Integrator.DirectDerivative.md
description: >-
  Dyad Examples.Integrator.DirectDerivative docs. 
  DiscreteComponents.Examples.Integrator.DirectDerivative()
---

# `Examples.Integrator.DirectDerivative` {#Examples.Integrator.DirectDerivative}

## Usage {#Usage}

`DiscreteComponents.Examples.Integrator.DirectDerivative()`

## Connectors {#Connectors}

* `u` - This connector represents a real signal as an input to a component ([`RealInput`](/stdlib/Dyad/connectors/RealInput#RealInput))

* `y` - This connector represents a real signal as an output from a component ([`RealOutput`](/stdlib/Dyad/connectors/RealOutput#RealOutput))

## Behavior {#Behavior}

Behavior of this component cannot be rendered because it includes `path` variables.

## Source {#Source}

```dyad
component DirectDerivative
  u = RealInput() {
    "Dyad": {
      "placement": {
        "diagram": {"iconName": "default", "x1": -40, "y1": 450, "x2": 60, "y2": 550, "rot": 0}
      },
      "tags": []
    }
  }
  y = RealOutput() {
    "Dyad": {
      "placement": {
        "diagram": {"iconName": "default", "x1": 970, "y1": 450, "x2": 1070, "y2": 550, "rot": 0}
      },
      "tags": []
    }
  }
relations
  y = der(u)
metadata {"Dyad": {"doc": {"behavior": false}}}
end
```

```dyad
component DirectDerivative
  u = RealInput() {
    "Dyad": {
      "placement": {
        "diagram": {"iconName": "default", "x1": -40, "y1": 450, "x2": 60, "y2": 550, "rot": 0}
      },
      "tags": []
    }
  }
  y = RealOutput() {
    "Dyad": {
      "placement": {
        "diagram": {"iconName": "default", "x1": 970, "y1": 450, "x2": 1070, "y2": 550, "rot": 0}
      },
      "tags": []
    }
  }
relations
  y = der(u)
metadata {"Dyad": {"doc": {"behavior": false}}}
end
```

## Test Cases {#Test-Cases}

No test cases defined.

## Related {#Related}

* Examples

* Experiments

* Analyses

* Tests
  * [`IntegratorFEwInitialTest`](Examples.Integrator.DirectDerivative.md)
