Get a forced coefficient.

Get a previously set forced coefficient.
@param int $coefficient Which coefficient.
@return float Value of this force this coefficient.  Null if the
coefficient isn't being forced.
@since Version 1.1
770106
public function getForcedCoefficient( $coefficient )
    {
        $result = null;
        if ( isset( $this->forcedValue[ $coefficient ] ) )
            $result = $this->forcedValue[ $coefficient ];

        return $result;

    }
1186060
public function scalar($field) {
		$result = $this->first();
		if (empty($result)) {
			return null;
		}
		return $result->$field;
	}
547580
public function offsetGet($key)
    {
        if (($index = $this->keysIndices[self::keyString($key)] ?? null) === null) {
            return null;
        }

        return $this->values[$index];
    }
472901
public function offsetGet($field) {
        if (isset($this->values[$field]) || $this->load($field)) {
            return $this->values[$field];
        }

        return NULL;
    }
768436
public function get_force_ltr() {
        $forceltr = parent::get_force_ltr();
        if ($forceltr === null) {
            return !is_rtl_compatible($this->paramtype);
        }
        return $forceltr;
    }
461725
public function getOperand($index)
    {
        $operand = $this->getOperandObject($index);
        if ($operand) {
            return $operand->getValue();
        } elseif (is_int($index)) {
            $i = $index - count($this->operands);
            return $i >= 0 && isset($this->additionalOperands[$i]) ? $this->additionalOperands[$i] : null;
        }

        return null;
    }
899535
public function get($field)
    {
        if (!is_null($this->filtered) && ! is_null($this->filtered[0])) {
            return isset($this->filtered[0][0][$field]) ? $this->filtered[0][0][$field] : null;
        }

        // Todo: Get values of entities
    }
89447
public function offsetGet($offset)
    {
        $getter = 'get' . ucfirst($offset);

        if (\method_exists($this, $getter)) {
            $this->$getter();
        }

        return null;
    }
1279811
protected function cast($value)
    {
        if (strlen($value) === 0) {
            return null;
        }
        if ($this->getScale() === 0) {
            return (int)$value;
        }
        return (float)$value;
    }
1150582
public function getUnits($type = null)
    {
        if (!isset($type)) {
            return $this->units;
        }

        $filtered = array();
        foreach ($this->units as $key => $value) {
            if (isset($value['type']) && $value['type'] === $type) {
                $filtered[$key] = $value;
            }
        }

        return $filtered;
    }
176897
protected function getValue($index)
    {
        if ($this->values[$index] === null) {
            return null;
        }
        return $this->values[$index]->value;
    }
470493
public function offsetGet($index) {
		if( $this->results === null ){
			$this->results = ($this->query)();
		}
		if( isset($this->results[$index]) ){
			return $this->results[$index];
		}
		return null;
	}
986403
public function offsetGet($offset)
    {
        //argument 1 must be scalar, null or bool
        Argument::i()->test(1, 'scalar', 'null', 'bool');

        return isset($_COOKIE[$offset]) ? $_COOKIE[$offset] : null;
    }
757790
public function offsetGet($offset)
    {
        $val = $this->registry->getEntry($offset, null);
        if (empty($val)) {
            $val = $this->_getFallbackMethod($offset, array(), false, 'get');
        }
        return $val;
    }
1225723
public function getValues($Serie)
    {
        if (isset($this->Data["Series"][$Serie]["Data"])) {
            return $this->Data["Series"][$Serie]["Data"];
        }
        return null;
    }
1104203
public function forceValues()
    {
        $forceConfig = $this->config->getSubConfig(self::FORCE);
        foreach ($forceConfig->getArrayCopy() as $key => $value) {
            add_filter("genesis_pre_get_option_{$key}", function () use ($value) {
                return $value;
            });
        }
    }
193785
public function length() : float
    {
        static $result;

        return null !== $result ? $result : $result = sqrt($this->lengthSquared());
    }